@echo off 
pyinstaller --onefile --contents-directory . --hidden-import=queue -i RSE.ico  main.py --noconsole  -n XinHu_RSE
xcopy %~dp0config.ini  dist\
xcopy %~dp0mul.wsp  dist\
del %~main.spec
echo %复制snap7文件夹内容%
xcopy %~dp0snap7 %~dp0snap7 /s /e /y
rd /S /Q %~dp0build\

pause
